#include <iostream>
#include "Point.h"
using namespace std;

void gotoxy(int, int); // prototype

class Point
{
	int m_x, m_y;
	int dir_x, dir_y;
	char m_symb;
	bool flag;

public:
	
	Point()
	{
		m_x = 0;
		m_y = 0;
		dir_x = 0;
		dir_y = 0;
		flag = false;
		m_symb = '*';
	}
	
	void setPos(int x, int y)
	{
		m_x = x;
		m_y = y;
		flag = true;
	}

	void setSymbol(char c)
	{
		m_symb = c;
	}

	void draw()
	{
		if(!flag)
			{
				cerr << "You haven't initilized the x and y coordination" << endl;
				cout << "Please do so";
		}
		
		
		gotoxy(m_x,m_y);
		cout << m_symb << endl;
	}
	void move();
};